install.sh with PYTHON possibly undefined in the environment.
So we make PYTHON=python the sensible default.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
. ./funcs.sh
+if test -z ${PYTHON}; then
+ PYTHON=python
+fi
+
${PYTHON} -c '
import sys
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
. ./funcs.sh
+if test -z ${PYTHON}; then
+ PYTHON=python
+fi
has_or_fail ${PYTHON}
${PYTHON} -c '
. ./funcs.sh
+if test -z ${PYTHON}; then
+ PYTHON=python
+fi
has_or_fail ${PYTHON}
${PYTHON} -c 'import xml.dom.minidom' 2>/dev/null || \